package com.wms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wms.dto.WarehouseDto;
import com.wms.dto.WarehouseIdAndNameDto;
import com.wms.dto.WarehousePageDto;
import com.wms.pojo.PageResult;
import com.wms.pojo.Warehouse;

import java.util.List;

public interface WarehouseService extends IService<Warehouse> {
    PageResult pageQuery(WarehousePageDto dto);

    void saveWarehouse(WarehouseDto dto);

    WarehouseDto getWarehouseById(Integer id);

    void updateWarehouseById(WarehouseDto dto);

    List<WarehouseIdAndNameDto> getWarehouseAll();
}
